Intermittent fasting isn't a magic bullet — but it can work if you do it right. Here's what actually matters (and what doesn't).